package com.shycloud.mido.member.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.dto.OptHardwareDTO;
import com.shycloud.mido.member.api.entity.HardwareSale;

import org.apache.ibatis.annotations.Param;

public interface HardwareSaleMapper extends BaseMapper<HardwareSale> {
    
    IPage<OptHardwareDTO> getOptItemPage(@Param("page") Page page, @Param("optId") Integer optId);
    List<OptHardwareDTO> getOptItemList(@Param("optId") Integer optId);
}
